<template>
	<view>
		{{wenzi}}
		<button type="default" @click="click">子组件向父组件传值</button>
		<picker mode = multiSelector :range="list">
			<view>picker</view>
		</picker>
	</view>
</template>

<script>
	export default {
		props:{
			wenzi:{
				type:String,
				default:'1000000'
			}
		},
		data() {
			return {
				text:'我是子组件传过来的值',
				list:[[1,2,3],[4,5,6]]
			};
		},
		methods:{
			click(){
				this.$emit('change',this.text)
			}
		}
	}
</script>

<style>

</style>
